/*
 * @(#)BeanPoint.java   1.0  2022年3月7日
 * 
 * Copyright (c)	2014-2020. All Rights Reserved.	GuangZhou hhmk Technology Company LTD.
 */
package com.swift.monitor.core.point;

import java.util.Date;

/**
 * 添加说明 
 * @author zhengjiajin
 * @version 1.0 2022年3月7日
 */
public class BeanPoint extends Point {
    //线程ID用于前后追踪
    private Long threadId;
    //线程名称
    private String threadName;
    //类名
    private String className;
    //方法名
    private String methedName;
    //开始执行时间
    private Date startTime;
    //结束执行时间
    private Date endTime;
    //耗时
    private long execTime;
    //异常情况
    private Throwable ex;
    
    /**
     * @return the threadId
     */
    public Long getThreadId() {
        return threadId;
    }
    /**
     * @param threadId the threadId to set
     */
    public void setThreadId(Long threadId) {
        this.threadId = threadId;
    }
    
    /**
     * @return the threadName
     */
    public String getThreadName() {
        return threadName;
    }
    /**
     * @param threadName the threadName to set
     */
    public void setThreadName(String threadName) {
        this.threadName = threadName;
    }
    /**
     * @return the className
     */
    public String getClassName() {
        return className;
    }
    /**
     * @param className the className to set
     */
    public void setClassName(String className) {
        this.className = className;
    }
    /**
     * @return the methedName
     */
    public String getMethedName() {
        return methedName;
    }
    /**
     * @param methedName the methedName to set
     */
    public void setMethedName(String methedName) {
        this.methedName = methedName;
    }
    /**
     * @return the startTime
     */
    public Date getStartTime() {
        return startTime;
    }
    /**
     * @param startTime the startTime to set
     */
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }
    /**
     * @return the endTime
     */
    public Date getEndTime() {
        return endTime;
    }
    /**
     * @param endTime the endTime to set
     */
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
    /**
     * @return the execTime
     */
    public long getExecTime() {
        return execTime;
    }
    /**
     * @param execTime the execTime to set
     */
    public void setExecTime(long execTime) {
        this.execTime = execTime;
    }
    /**
     * @return the ex
     */
    public Throwable getEx() {
        return ex;
    }
    /**
     * @param ex the ex to set
     */
    public void setEx(Throwable ex) {
        this.ex = ex;
    }
    
}
